AC_INIT([watchpost], [0.1], [andrewresch@gmail.com])
AM_INIT_AUTOMAKE([-Wall -Werror foreign dist-bzip2])
AC_PROG_CC
AM_PATH_GTK_2_0(2.10.0,,AC_MSG_ERROR(watchpost needs GTK+ 2.10.0))
PKG_CHECK_MODULES(GLADE, libglade-2.0 libgnomeui-2.0 >= 2.0.0)
AC_SUBST(GLADE_CFLAGS)
AC_SUBST(GLADE_LIBS)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
AC_SUBST(LIBGLADE_CFLAGS)
AC_SUBST(LIBGLADE_LIBS)
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT
